package cc.czlee.cloud.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/*
 * Create by Colbert on 2019-05-01
 *
 * Copyright (C) 2019 chuanzhigo@gmail.com.
 */
// 启用服务注册
@EnableDiscoveryClient
// 启用远程调用客户端
@EnableFeignClients
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
